<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE struts PUBLIC
    "-//Apache Software Foundation//DTD Struts Configuration 2.0//EN"
    "http://struts.apache.org/dtds/struts-2.0.dtd">

<struts>
<package name="<##MAST_FIELD##>mast" extends="sn-default" namespace="/master">

	<action name="<##MAST_FIELD##>Mst" class="<##MAST_FIELD##>MasterAction">
	  <result>/WEB-INF/content/master/<##MAST_FIELD##>.jsp</result>
	</action>

	<action name="<##MAST_FIELD##>Mst-del" method="del" class="<##MAST_FIELD##>MasterAction">
		<result  type="redirectAction">
				<param name="actionName"><##MAST_FIELD##>Mst</param>
				<param name="namespace">/master</param>
       	</result>
	</action>

  <action name="<##MAST_FIELD##>Mst-save" method="save" class="<##MAST_FIELD##>MasterAction">
		<result  type="redirectAction">
			<param name="actionName"><##MAST_FIELD##>Mst</param>
			<param name="namespace">/master</param>
       	</result>
       	<result name="input" type="chain">
       	    <param name="actionName"><##MAST_FIELD##>Mst</param>
			<param name="namespace">/master</param>
       	</result>
    </action>

	<action name="<##MAST_FIELD##>Mst-check" method="check" class="<##MAST_FIELD##>MasterAction">
		<result>/WEB-INF/content/common/check.jsp</result>
		<result name="input">/WEB-INF/content/common/check.jsp</result>
     </action>
</package>

<package name="JSON_<##MAST_FIELD##>mast" extends="json-default" namespace="/master">
    <action name="<##MAST_FIELD##>mast-getObj" method="findObj" class="JSON_<##MAST_FIELD##>MasterAction">
		<result type="json" />
	</action>
</package>

</struts>
